
var TodoCount=(state=1,action)=>{
	switch (action.type){
		case 'ADD_Count':
			let newstate=state;
			newstate+=action.text;
			return newstate
		default:
			return state
	}
}



export default TodoCount;